package com.lzm.ydpt.mvp.modelimpl;

import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.byt.framlib.basemvp.boby.FormBodys;
import com.lzm.ydpt.entity.UserInfo;
import com.lzm.ydpt.mvp.api.APIManager;
import com.lzm.ydpt.mvp.contract.PtMainContract;

import io.reactivex.Observable;


/**
 * 类名称：MainModelImpl
 * 类描述：模型实现
 */
public class PtMainModelImpl implements PtMainContract.Model {

    @Override
    public Observable<BaseResponseBean<UserInfo>> onUserInfo(FormBodys formBodys) {
        return APIManager.getInstance().getAPIService().onUserInfo(formBodys);
    }

}